package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 签到规则对象 signin_rule
 * 
 * @author hyb
 * @date 2023-02-13
 */
public class SigninRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 距离限制 */
    @Excel(name = "距离限制")
    private Long positionLong;

    /** 时间限制 */
    @Excel(name = "时间限制")
    private Long timeLong;

    /** 类型0-密码签到1-二维码签到 */
    @Excel(name = "类型0-密码签到1-二维码签到")
    private Long type;

    /** 签到活动id */
    @Excel(name = "签到活动id")
    private Long activityId;

    /** $column.columnComment */
    private String pf1;

    /** $column.columnComment */
    private String pf2;

    /** $column.columnComment */
    private String pf3;

    /** $column.columnComment */
    private String pf4;

    /** $column.columnComment */
    private String pf5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPositionLong(Long positionLong) 
    {
        this.positionLong = positionLong;
    }

    public Long getPositionLong() 
    {
        return positionLong;
    }
    public void setTimeLong(Long timeLong) 
    {
        this.timeLong = timeLong;
    }

    public Long getTimeLong() 
    {
        return timeLong;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setPf1(String pf1) 
    {
        this.pf1 = pf1;
    }

    public String getPf1() 
    {
        return pf1;
    }
    public void setPf2(String pf2) 
    {
        this.pf2 = pf2;
    }

    public String getPf2() 
    {
        return pf2;
    }
    public void setPf3(String pf3) 
    {
        this.pf3 = pf3;
    }

    public String getPf3() 
    {
        return pf3;
    }
    public void setPf4(String pf4) 
    {
        this.pf4 = pf4;
    }

    public String getPf4() 
    {
        return pf4;
    }
    public void setPf5(String pf5) 
    {
        this.pf5 = pf5;
    }

    public String getPf5() 
    {
        return pf5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("positionLong", getPositionLong())
            .append("timeLong", getTimeLong())
            .append("remark", getRemark())
            .append("type", getType())
            .append("activityId", getActivityId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("pf1", getPf1())
            .append("pf2", getPf2())
            .append("pf3", getPf3())
            .append("pf4", getPf4())
            .append("pf5", getPf5())
            .toString();
    }
}
